package thread01;

/**
 * 主线程:main方法运行起来后,java会自动分配一个线程,这个线程就叫做主线程
 *  当java中发生异常,会有如下打印信息:
 *   Exception in thread "main" java.lang.ArithmeticException: / by zero //算数异常
 *   	at thread01.ThreadDemo01.main(ThreadDemo01.java:8)
 */
public class ThreadDemo01 {
    public static void main(String[] args) {
        System.out.println(1 / 0);
    }
}
